package com.dq.controller.in.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liuhui
 * @date 2019/9/22 0022 16:49:22
 */
@Data
@ApiModel("门店注册")
public class OrgRegistry {
    @ApiModelProperty("经度")
    @NotBlank(message = "门店地址获取失败")
    private String lng;
    @ApiModelProperty("纬度")
    @NotBlank(message = "门店地址获取失败")
    private String lat;
    @ApiModelProperty("门店名称")
    @NotBlank(message = "门店名称不能为空")
    private String orgName;
    @NotBlank(message = "负责人名称不能为空")
    @ApiModelProperty("门店负责人")
    private String orgManagerName;
    @NotBlank(message = "门店介绍不能为空")
    @ApiModelProperty("门店介绍")
    private String orgDescription;
    @NotBlank(message = "联系电话不能为空")
    @ApiModelProperty("联系电话")
    private String concatMobile;
    @NotBlank(message = "省份不能为空")
    @ApiModelProperty("省份")
    private String province;
    @NotBlank(message = "市区信息不能为空")
    @ApiModelProperty("城市")
    private String city;
    @NotBlank(message = "县区信息不能为空")
    @ApiModelProperty("县/区")
    private String area;
    @NotBlank(message = "详细地址不能为空")
    @ApiModelProperty("详细地址")
    private String address;
    @NotBlank(message = "身份证号码不能为空")
    @ApiModelProperty("身份证号码")
    private String idCard;
    @NotBlank(message = "身份证正面图片信息不能为空")
    @ApiModelProperty("身份证正面图片地址")
    private String idCardFrontUrl;
    @NotBlank(message = "身份证背面图片信息不能为空")
    @ApiModelProperty("身份证背面地址")
    private String idCardBackUrl;
    @NotBlank(message = "门店图片至少上传一个")
    @ApiModelProperty("门店图片地址")
    private String orgImgUrl;
    @NotBlank(message = "营业执照不能为空")
    @ApiModelProperty("营业执照图片地址")
    private String businessLicenseUrl;
    @ApiModelProperty("特殊行业文件地址")
    private String specialIndustryUrl;
    @ApiModelProperty("推荐人手机号")
    private String inviterPhone;
}
